package cn.iocoder.yudao.module.pplan.controller.admin.twcleaningplan.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

@Schema(description = "管理后台 - 生产计划-餐具清洗计划分页 Request VO")
@Data
public class TwCleaningPlanPageReqVO extends PageParam {

    @Schema(description = "餐具清洗计划编号")
    private String cplanCode;

    @Schema(description = "关联航班号")
    private String flightNo;

    @Schema(description = "清洗状态", example = "2")
    private String cleaningStatus;

    @Schema(description = "计划有效期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] expireDate;
    private LocalDate startDate;
    private LocalDate endDate;

}